package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.Alias;

import javax.persistence.*;
import java.util.Date;

@Data
@Alias(value = "dmcWatchDataStep")
@Table(name = "cn_dmc_watch_data_step")
@EqualsAndHashCode(callSuper = true)
public class DmcWatchDataStep extends BaseEntity {

    private static final long serialVersionUID = -7652916712695626869L;

    /**
     * 设备Id
     */
    @Column(name = "device_id")
    private Long deviceId;

    /**
     * 步数
     */
    @Column(name = "step")
    private Integer step;

    /**
     * 公里数
     */
    private Float kilometer;

    /**
     * 卡路里数 体重（kg）* 距离（km）* 运动系数（k）
     */
    private Float calorie;

}